﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace YogaStudio.Data.Domain
{
    public class CoursePaymentDetail
    {
        [Key, ForeignKey("Transcript")]
        public int? TranscriptId { get; set; }

        public string CreditCardNumber { get; set; }
        public string PrintedNameOnCard { get; set; }
        public DateTime ExpiryDate { get; set; }
        public int Pin { get; set; }

        public string BillingAddress1 { get; set; }
        public string BillingAddress2 { get; set; }
        public string BillingCity { get; set; }
        public string BillingProvience { get; set; }
        public string BillingPostalCode { get; set; }
        public string BillingCountry { get; set; }

        public virtual Transcript Transcript { get; set; }
    }
}
